package com.project.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 权限实体类
 */
@TableName("t_grade")
public class GradeBean {
    /**权限编号*/
    @TableId("pk_gradeId")
    private Integer gradeId;
    /**权限名称*/
    @TableField("g_gradeName")
    private String gradeName;

    @TableField("g_content")
    private String content;

    public GradeBean() {
    }

    public GradeBean(String gradeName, String content) {
        this.gradeName = gradeName;
        this.content = content;
    }

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "GradeBean{" +
                "gradeId=" + gradeId +
                ", gradeName='" + gradeName + '\'' +
                ", content='" + content + '\'' +
                "}\n";
    }
}
